package com.dibang.app.operation.control.impl;

import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.dibang.app.R;
import com.dibang.app.mvp.abs.AbsControl;
import com.dibang.app.operation.control.abs.TripListControl;
import com.dibang.app.operation.model.abs.TripListModel;
import com.dibang.app.operation.presenter.abs.TripListPresenter;
import com.dibang.app.operation.provider.TripListProImpl;
import com.dibang.app.operation.view.abs.TripListView;
import com.dibang.app.view.ViewHelper;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;

import am.widget.stateframelayout.StateFrameLayout;
import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by wxl on 2019/8/12.
 *
 */
public class TripListControlImpl extends AbsControl<TripListView, TripListPresenter, TripListModel,TripListProImpl> implements TripListControl {


    @BindView(R.id.trip_list_view)
    RecyclerView listView;

    @BindView(R.id.trip_list_smart_view)
    SmartRefreshLayout smartView;

    @BindView(R.id.trip_list_state_view)
    StateFrameLayout stateFrameLayout;

    public TripListControlImpl(@NonNull View targetView) {
        super(targetView);
        ButterKnife.bind(this,targetView);
        getView().setTripListViewLinearManagerByData(listView);
        
    }
}
